package psn.kiko.aop.debounce;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

@Builder
@Data
@ApiModel("请求防抖")
public class DebounceRequest{
	@ApiModelProperty("上一次有效请求的发生时间")
	private String lastRequestTime;
	@ApiModelProperty("此次请求发生时间")
	private String currentRequestTime;
	@ApiModelProperty("标准间隔时间")
	private long standardInterval;
	@ApiModelProperty("实际间隔时间")
	private long actualInterval;
	@ApiModelProperty("间隔时间单位")
	private final String intervalUnit = "ms";
}
